/* for constants and math stuff */

#ifndef DEFINITIONS_H
#define DEFINITIONS_H

#include <math.h>

namespace ms {
//#define HIGHQUALITY

	/* Precision of variables */
#ifdef HIGHQUALITY
	typedef long double real;
#else
	typedef float real;
#endif

	const real PERCMOMENTUMREMAINING = .90; // what percentage of momentum is left after a collision (to account for error and friction)

	enum TypeOfMass {MassObjectType, CircleMassType};

#define real_sqrt sqrt // Precision of square root

#define real_pow pow // Precision of the power function

	const real GRAV = 6.673e-11; // Gravitational constant.
}
#endif
